﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SalesSys.DAL.Base;

namespace SalesSys.DAL.Models
{
    /// <summary>
    /// 报价审批数据实体
    /// </summary>
   public  class PriceConfirmData:DbEntityBase<int>
   {
       public class Mapper : SalMapper<PriceConfirmData, int>
       {
       }

       /// <summary>
       /// 临时数据批次，用于确定是同一个申请
       /// </summary>
       public Guid BatchId { get; set; }

       /// <summary>
       /// 审批状态
       /// </summary>
       public ApprovalState State { get; set; }

       /// <summary>
       /// 创建人编号
       /// </summary>
       public Guid CreaterId { get; set; }

       /// <summary>
       /// 创建时间
       /// </summary>
       public DateTime CreateTime { get; set; }

       /// <summary>
       /// 供应商编号
       /// </summary>
       public Guid ProviderId { get; set; }

       /// <summary>
       /// 供应商名称
       /// </summary>
       public string  ProviderName { get; set; }

       /// <summary>
       /// 钢厂名称
       /// </summary>
       public string SupplierName { get; set; }

       /// <summary>
       /// 商品编号
       /// </summary>
       public Guid CommodityId { get; set; }

       /// <summary>
       /// 商品名称
       /// </summary>
       public string CommodityName { get; set; }
       /// <summary>
       ///申请销售 单价
       /// </summary>
       public decimal Price { get; set; }

       /// <summary>
       /// 原始价格
       /// </summary>
       public decimal OldPrice { get; set; }
       /// <summary>
       /// 系统内部说明
       /// </summary>
       public string Remark { get; set; }
    }


}
